package com.aaa.member.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * 发票表
 * (Invoice)实体类
 *
 * @author makejava
 * @since 2020-11-23 10:09:48
 */
public class Invoice implements Serializable {
    private static final long serialVersionUID = 709537018257137786L;

    private Integer id;
    /**
     * 订单id
     */
    private Integer orderId;
    /**
     * 发票类型(1,电子发票，2纸质)
     */
    private Integer type;
    /**
     * 发票抬头类型（企业/非企业（个人））
     */
    private String titleType;
    /**
     * 发票抬头
     */
    private String title;
    /**
     * 税号
     */
    private String titleNo;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 手机号
     */
    private String phonenum;
    /**
     * 时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")//处理接收参数
    private Object addtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTitleType() {
        return titleType;
    }

    public void setTitleType(String titleType) {
        this.titleType = titleType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitleNo() {
        return titleNo;
    }

    public void setTitleNo(String titleNo) {
        this.titleNo = titleNo;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public Object getAddtime() {
        return addtime;
    }

    public void setAddtime(Object addtime) {
        this.addtime = addtime;
    }

}